template <typename T>
struct myChainNode {
	T element;
	myChainNode<T>* next;
	myChainNode() { element = 0; next = nullptr; }
	myChainNode(const T& _element, myChainNode<T>* _ptr) { element = _element; next = _ptr; }
};